from django.core.management.commands.syncdb import Command as _syncdb
import os
from django.conf import settings

class Command(_syncdb):
    def handle_noargs(self, **options):
        if os.path.isfile( settings.DATABASE_NAME ):
            os.unlink( settings.DATABASE_NAME )        
        options['interactive'] = False
        super(Command, self).handle_noargs(**options)
